#ifndef GMSETVEL_H
#define GMSETVEL_H

#include "GameMessage.h"

#include <D3DX10.h>

class GMSetVel : public GameMessage
{
public:
	GMSetVel();
	virtual void Execute() override;
	virtual bool Read(SocketMessage* sm) override;
	virtual void Write(SocketMessage* sm) override;
	
	void SetVelX(float vel);
	void SetVelY(float vel);
	void SetVelZ(float vel);

	void SetID(int id);
	int GetID() const;
private:
	int m_id;

	float m_x;
	float m_y;
	float m_z;
};

#endif //GMSETVEL_H